#ifndef WINDOWFACTORY_H
#define WINDOWFACTORY_H

#include <QFrame>
#include <QHBoxLayout>

class ChildWindowBase;
class WindowFactory : public QFrame
{
    Q_OBJECT
public:
	static WindowFactory *instance();
	void updateWindow(ChildWindowBase *chileWindow);

signals:
//	void updateView(int groupId);

public slots:
	void updateGroupView(int groupId);

private:
	WindowFactory(QWidget *parent = 0);
	QHBoxLayout *m_MainLayout;
	ChildWindowBase *m_ChildWindow;
};

#endif // WINDOWFACTORY_H
